package model;

import org.newdawn.slick.Image;
import org.newdawn.slick.SlickException;

public final class Mister extends Thing
{
	private double geschwindigkeitX;
	private double geschwindigkeitY = 0.02;
	private boolean dead;
	
	public Mister(double cX, double cY) throws SlickException
	{
		super(cX, cY);
		// TODO Standardwerte
		height = .100;
		width = .100;
		image = new Image("data/misterjump.png");
		dead = false;
	}
	
	public Mister(double cX, double cY, int cHeight, int cWidth)
	throws SlickException
	{
		this(cX, cY);
		height = cHeight;
		width = cWidth;
	}
	
	public void kill() {
		dead = true;
	}
	
	public boolean isDead() {
		return dead;
	}

	public double getGeschwindigkeitX()
	{
		return geschwindigkeitX;
	}
	
	public double getGeschwindigkeitY()
	{
		return geschwindigkeitY;
	}
	
	public void setGeschwindigkeitX(double geschwindigkeitX)
	{
		this.geschwindigkeitX = geschwindigkeitX;
	}

	public void setGeschwindigkeitY(double geschwindigkeitY)
	{
		this.geschwindigkeitY = geschwindigkeitY;
	}
	
	@Override
	public Type getType()
	{
		// TODO Auto-generated method stub
		return null;
	}
	
	@Override
	public void act()
	{
		// TODO Auto-generated method stub
		
	}
	
}
